home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / dema / crysis_sp_demo.exe / AllOth~1.cab / shaders.pak / Shaders / Illum.ext < prev    next >
Encoding:
Text File  |  2007-08-14  |  3.4 KB  |  150 lines

  1. ////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  Crytek Engine Source File.
  4. //  Shader extension
  5. //  Copyright (C), Crytek Studios, 2001-2004.
  6. // -------------------------------------------------------------------------
  7. //  File name:   Illumination.ext
  8. //  Version:     v1.00
  9. //  Created:     16/2/2004 by Andrey Honich.
  10. //  Compilers:   
  11. //  Description: Illumination shader extension used by the editor
  12. //               for automatic shader generation (based on "Illumination" shader template)
  13. // -------------------------------------------------------------------------
  14. //  History:
  15. //
  16. ////////////////////////////////////////////////////////////////////////////
  17.  
  18.  
  19.  
  20. Version (1.00)
  21.  
  22. Property
  23. {
  24.   Name = %GLOSS_MAP
  25.   Mask = 0x10
  26.   Property    (Gloss map)
  27.   Description (Use gloss map as separate texture)
  28.   DependencySet = $TEX_Gloss
  29.   DependencyReset = $TEX_Gloss
  30.   Hidden
  31. }
  32. Property
  33. {
  34.   Name = %GLOSS_DIFFUSEALPHA
  35.   Mask = 0x20
  36.   Property    (Gloss map DifAlpha)
  37.   Description (Use gloss map as alpha channel in diffuse texture)
  38. }
  39. Property
  40. {
  41.   Name = %ENVCMSPEC
  42.   Mask = 0x80
  43.   Property    (Specular EnvCM)
  44.   Description (Use per-pixel Env. CM reflections with fresnel)
  45.   DependencyReset = $TEX_EnvCM
  46. }
  47. Property
  48. {
  49.   Name = %SPECULARPOW_GLOSSALPHA
  50.   Mask = 0x800
  51.   Property    (PerPixel Spec. Shinines)
  52.   Description (Use specular shininess coef. as alpha channel of gloss texture)
  53.   DependencyReset = $TEX_Gloss
  54. }
  55. Property
  56. {
  57.   Name = %DISABLE_RAIN_PASS
  58.   Mask = 0x1000
  59.   Property    (Disable rain layer)
  60.   Description (Disables rain layer)
  61. }
  62. Property
  63. {
  64.   Name = %ALPHAGLOW
  65.   Mask = 0x2000
  66.   Property    (Glow in Diffuse alpha)
  67.   Description (Use alpha channel of diffuse texture for glow)
  68. }
  69. Property
  70. {
  71.   Name = %DETAIL_BUMP_MAPPING
  72.   Mask = 0x4000
  73.   Property    (Detail bump mapping)
  74.   Description (Use detail bump mapping)
  75. }
  76. Property
  77. {
  78.   Name = %OFFSETBUMPMAPPING
  79.   Mask = 0x20000
  80.   Property    (Offset bump mapping)
  81.   Description (Use Offset bump mapping (requires height map in alpha channel of bump texture))
  82.   DependencyReset = $TEX_Bump
  83. }
  84.  
  85. Property
  86. {
  87.   Name = %BUMP_DIFFUSE
  88.   Mask = 0x100000
  89.   Property    (BumpDiffuse)
  90.   Description (Use separate bump map for diffuse lighting)
  91.   DependencySet = $TEX_BumpDiffuse
  92.   DependencyReset = $TEX_BumpDiffuse
  93.   Hidden
  94. }
  95. Property
  96. {
  97.   Name = %VERTCOLORS
  98.   Mask = 0x400000
  99.   Property    (Vertex Colors)
  100.   Description (Use vertex colors)
  101. }
  102. Property
  103. {
  104.   Name = %ALLOW_POM
  105.   Mask = 0x1000000
  106.   DependencySet = $HW_AllowPOM
  107.   DependencyReset = $HW_AllowPOM
  108.   Hidden  
  109. }
  110. Property
  111. {
  112.   Name = %DECAL
  113.   Mask = 0x2000000
  114.   Property    (Decal)
  115.   Description (Use as Decal)
  116. }
  117. Property
  118. {
  119.   Name = %CHARACTER_DECAL
  120.   Mask = 0x4000000
  121.   Property    (Character Decal)
  122.   Description (Use as Character Decal)
  123. }
  124.  
  125. Property
  126. {
  127.   Name = %PARALLAX_OCCLUSION_MAPPING
  128.   Mask = 0x8000000
  129.   Property    (Parallax occlusion mapping)
  130.   Description (Use parallax occlusion mapping (requires height map in alpha channel of bump texture))
  131.   DependencyReset = $TEX_Bump
  132. }
  133. Property
  134. {
  135.   Name = %STAT_BRANCHING
  136.   Mask = 0x10000000
  137.   DependencySet = $HW_StaticBranching
  138.   DependencyReset = $HW_StaticBranching
  139.   Hidden
  140. }
  141. Property
  142. {
  143.   Name = %DYN_BRANCHING
  144.   Mask = 0x20000000
  145.   DependencySet = $HW_DynamicBranching
  146.   DependencyReset = $HW_DynamicBranching
  147.   Hidden
  148. }
  149.  
  150.